import Vue from 'vue'

import login from '../mock/login.json' //测试用数据

const json = type=>{
	//模拟异步请求数据
	return new Promise(resolve=>{
		setTimeout(()=>{
			resolve(login);
		}, 500)
	})
	
}


Vue.prototype.$json = {json};
